<%  
    @id = session[:user_id]
    if(@id != nil)
        @user = User.find(session[:user_id])
     #   STDERR.puts"rrrrrrrrrrrrrrrrrrrrrrrrrrrr"
     #   STDERR.puts @user.systemrole.respond_to?("NAME")
     #   STDERR.puts @user.systemrole.read_attribute("NAME")
    #	 STDERR.puts"rrrrrrrrrrrrrrrrrrrrrrrrrrrr"
    # 	 STDERR.puts  @user.systemrole.description
        @rolename=@user.systemrole.name 
     #     STDERR.puts  @rolename
        
        %>
	
<h3 style="size: 10px;">Menu</h3>

	
	    <% @rolename.each { |role| %>
        <%= render :partial => 'menu/' << role.downcase << '_menu'-%>
    <% } %>
  <% end %>
